import os
import subprocess


def system_(command):
    res = os.system(command)
    return res


def popen_(command):
    val = os.popen(command).read()
    return val


def subprocess_(command):
    subprocess.call(command, shell=False)


if __name__ == '__main__':
    command = "ffprobe -i /Users/hubert/Downloads/视频测试/6F5C899975164C19B602A8A992FA3169.ts"

    print(popen_(command))
    # print(subprocess_(command))
